package com.zxq.exchange.task;

import com.sun.jmx.snmp.tasks.Task;
import com.zxq.exchange.cache.DeviceCache;
import com.zxq.exchange.model.ExchangeDTO;
import com.zxq.exchange.register.NotifyDeviceRegister;

/**
 * 设备发起指令服务
 */
@Deprecated
public class DeviceInitiateTask implements Runnable {


    @Override
    public void run() {
        ExchangeDTO exchangeDTO = DeviceCache.getDeviceCache().offer();
        NotifyDeviceRegister.getInstance().notifyMessage(exchangeDTO);
    }



}
